package com.dayu.dao.merchant;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dayu.entity.Merchant;

/**
 * @author dayu
 * @date 2018/11/01
 */
public interface MerchantDaoI {

    void insertMerchant(Merchant merchant);

    Merchant getMerchantById(@Param("merchantId") int id);

    List<Merchant> getMerchantListByType(@Param("merchantType") int merchantType);

    void updateMerchant(Merchant merchant);

    void deleteMerchantById(@Param("merchantId") int id);
}
